package org.nanotek.cms.domain.message;

import org.nanotek.Base;

@SuppressWarnings("serial")
public class MessageBase implements Base<String> {

	private String id;
	private MessageHeader messageHeader; 
	private BodyMessageContainer bodyMessage;
	
	@Override
	public String getId() {
		return id;
	}

	@Override
	public void setId(String id) {
		this.id = id;
	}
	
	public MessageHeader getMessageHeader() {
		return messageHeader;
	}

	public void setMessageHeader(MessageHeader messageHeader) {
		this.messageHeader = messageHeader;
	}
	
	public BodyMessageContainer getBodyMessage() {
		return bodyMessage;
	}

	public void setBodyMessage(BodyMessageContainer bodyMessage) {
		this.bodyMessage = bodyMessage;
	}

}
